﻿#include <filesystem>

#include "Geometry.h"

Geometry::Geometry()
  : m_SourcePath("")
  , m_TargetPath("")
{

}

Geometry::~Geometry() 
{

}

void Geometry::Load(const std::string& file) 
{

}

void Geometry::SetTargetPath(const std::string& path)
{
  m_TargetPath = path;
}

std::string Geometry::GetSourcePath() const
{
  return m_SourcePath;
}

std::string Geometry::GetTargetPath() const
{
  return m_TargetPath;
}

std::string Geometry::GetStem() const
{
  std::filesystem::path geometryPath(m_SourcePath);
  return geometryPath.stem().string();
}

std::string Geometry::GetExtension() const
{
  std::filesystem::path geometryPath(m_SourcePath);
  return geometryPath.extension().string();
}

std::string Geometry::GetFileName() const
{
  std::filesystem::path geometryPath(m_SourcePath);
  return geometryPath.filename().string();
}
